package com.daxt.model.service.archives.result;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "档案树", description = "档案树")
public class ArchivesTree implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	@ApiModelProperty(value = "label", name = "label")
	private String label;
	@ApiModelProperty(value = "节点类型", name = "nodeType")
	private String nodeType;
	@ApiModelProperty(value = "节点name", name = "nodeName")
	private String nodeName;
	@ApiModelProperty(value = "节点值", name = "nodeValue")
	private String nodeValue;
	@ApiModelProperty(value = "模式 0件  1卷", name = "model")
	private String model;
	@ApiModelProperty(value = "数据节点列名   查询用", name = "column")
	private String column;
	@ApiModelProperty(value = "typeId", name = "typeId")
	private Long nodeId;
	@ApiModelProperty(value = "1文件  2图片 3视频", name = "fileType")
	private String fileType;
	private int index;
	@ApiModelProperty(value = "是否目录  0否 1是", name = "isCatalog")
	private String isCatalog;
	@ApiModelProperty(value = "模板", name = "template")
	private String template;
	private int isNum;
	private Long parentId;
	//@JsonBackReference
	@ApiModelProperty(value = "子节点", name = "children")
	private List<ArchivesTree> children=new ArrayList<ArchivesTree>();
	@ApiModelProperty(value = "类目树", name = "classNum")
	private String classNum;
}
